function showImage(image) {
  var source = image.getAttribute("href");
  var placeholder = document.getElementById("placeholder");
  placeholder.setAttribute("src", source);

  var description = document.getElementById("description");
  description.firstChild.nodeValue = image.getAttribute("title");
}

function countBodyChildren() {
  var body = document.getElementsByTagName("body")[0];
  alert(body.childNodes.length);
}
